package open.tech.dawn.web.core.config;

import open.tech.dawn.web.core.controller.GlobalErrorView;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RestConfig {


    @Bean("error")
    public GlobalErrorView error() {
        return new GlobalErrorView();
    }

}
